/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-spi
 * Filename：	SProcessNameConfig.java
 * Created：		2016年9月19日
 * Creator：		wolv
 */
package com.thor.palmmall.spi.process;

import java.util.Arrays;
import java.util.List;

/**
 * @author wolv
 *
 */
public class SProcessNameConfig {

  public static final String PROCESS_COMPLAINT_PREFIX = "oper.complaintBill";
  public static final String PROCESS_MAINTAIN_PREFIX = "oper.maintainBill";
  public static final String PROCESS_SALESINPUT_PREFIX = "sales.salesinput";
  public static final String PROCESS_DEVICEINSPECT_PREFIX = "property.device.inspect.register";
  public static final String PROCESS_DEVICEREPAIR_PREFIX = "property.device.repair";
  public static final String PROCESS_OPERINSPECT_PREFIX = "property.operInspect.inspect";
  public static final List<String> PROCESS_PREFIX_LIST = Arrays.asList(new String[] {
      PROCESS_COMPLAINT_PREFIX, PROCESS_MAINTAIN_PREFIX, PROCESS_SALESINPUT_PREFIX,
      PROCESS_DEVICEINSPECT_PREFIX, PROCESS_DEVICEREPAIR_PREFIX, PROCESS_OPERINSPECT_PREFIX });

  public static SProcessNameConfig getInstance() {
    if (instance == null)
      instance = new SProcessNameConfig();
    return instance;
  }

  private String complaintProcess;
  private String maintainProcess;
  private String salesInputProcess;
  private String deviceInspectProcess;
  private String deviceRepairProcess;
  private String operInspectProcess;

  private static SProcessNameConfig instance;

  private SProcessNameConfig() {
  }

  public String getComplaintProcess() {
    return complaintProcess;
  }

  public void setComplaintProcess(String complaintProcess) {
    this.complaintProcess = complaintProcess;
  }

  public String getMaintainProcess() {
    return maintainProcess;
  }

  public void setMaintainProcess(String maintainProcess) {
    this.maintainProcess = maintainProcess;
  }

  public String getSalesInputProcess() {
    return salesInputProcess;
  }

  public void setSalesInputProcess(String salesInputProcess) {
    this.salesInputProcess = salesInputProcess;
  }

  public String getDeviceInspectProcess() {
    return deviceInspectProcess;
  }

  public void setDeviceInspectProcess(String deviceInspectProcess) {
    this.deviceInspectProcess = deviceInspectProcess;
  }

  public String getDeviceRepairProcess() {
    return deviceRepairProcess;
  }

  public void setDeviceRepairProcess(String deviceRepairProcess) {
    this.deviceRepairProcess = deviceRepairProcess;
  }

  public String getOperInspectProcess() {
    return operInspectProcess;
  }

  public void setOperInspectProcess(String operInspectProcess) {
    this.operInspectProcess = operInspectProcess;
  }

}
